package jmine.tec.batch.event.dao;

import jmine.tec.batch.event.domain.StartProcessEvent;
import bancosys.tec.persist.dao.BaseDAO;

/**
 * @created Feb 6, 2007
 * @author Gustavo Almeida
 */
public class StartProcessEventDAO extends BaseDAO<StartProcessEvent> {

    /**
     * Cria evento com id pre-determinado.
     * 
     * @param id id
     * @return evento.
     */
    public StartProcessEvent createBean(long id) {
        StartProcessEvent event = this.createBean();
        event.setId(id);
        return event;
    }
}
